<template>
  <div class="box">
    <img :src="this.imgsre+this.uid" alt="">
  </div>
</template>

<script>
export default {
  name: 'App',
  data(){
    return{
        imgsre: 'http://api.mountainfreshes.com/index.php/user/code/code?uid=',
        uid : this.$store.state.userid
    }
      
  },
  methods:{
    da:function(){
      console.log(this.uid)
    }
  },
  components:{
    
  }
}
</script>

<style scoped lang="less">
.box{
  width: 100%;
  zoom: 1;
  height: auto;
  overflow: hidden;
  text-align: center; 
  margin-top: .4rem;
  img{
    display: block;
    width: 4rem;
    margin: auto;
  }
}
</style>
